package cn.edu.sdjzu.ex04openfeign8005.service;

import edu.sdjzu.common.entity.University;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@Component
@FeignClient(name = "provider", path = "")
public interface UniversityService {
    @GetMapping("/university")
    List<University> selectList();
}
